package cn.stylefeng.guns.modular.goods.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lcl
 * @since 2019-07-09
 */
@TableName("liu_goods")
public class LiuGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品表 id 商品编号
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private long id;

    /**
     * 商品的名称
     */
    @TableField("goods_name")
    private String goodsName;

    /**
     * 商品简称
     */
    @TableField("goods_abbreviation")
    private String goodsAbbreviation;

    /**
     * 品牌
     */
    @TableField("brand_id")
    private String brandId;

    /**
     * 型号
     */
    @TableField("model")
    private String model;

    /**
     * 规格
     */
    @TableField("specifications")
    private String specifications;

    /**
     * 单位
     */
    @TableField("unit")
    private String unit;

    /**
     * 重量
     */
    @TableField("weight")
    private Double weight;

    /**
     * 状态
     */
    @TableField("state")
    private String state;

    /**
     * 设置售价
     */
    @TableField("price")
    private Long price;

    /**
     * 创建方式
     */
    @TableField("establish")
    private String establish;

    /**
     * 商品备注
     */
    @TableField("remarks")
    private String remarks;

    /**
     * 父部门id
     */
    @TableField("pid")
    private Long pid;

    /**
     * 父部门 ids
     */
    @TableField("pids")
    private String pids;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsAbbreviation() {
        return goodsAbbreviation;
    }

    public void setGoodsAbbreviation(String goodsAbbreviation) {
        this.goodsAbbreviation = goodsAbbreviation;
    }

    public String getBrandId() {
        return brandId;
    }

    public void setBrandId(String brandId) {
        this.brandId = brandId;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public String getEstablish() {
        return establish;
    }

    public void setEstablish(String establish) {
        this.establish = establish;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getPids() {
        return pids;
    }

    public void setPids(String pids) {
        this.pids = pids;
    }

    @Override
    public String toString() {
        return "LiuGoods{" +
                "id='" + id + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsAbbreviation='" + goodsAbbreviation + '\'' +
                ", brandId='" + brandId + '\'' +
                ", model='" + model + '\'' +
                ", specifications='" + specifications + '\'' +
                ", unit='" + unit + '\'' +
                ", weight=" + weight +
                ", state='" + state + '\'' +
                ", price=" + price +
                ", establish='" + establish + '\'' +
                ", remarks='" + remarks + '\'' +
                ", pid=" + pid +
                ", pids='" + pids + '\'' +
                '}';
    }
}
